﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CMP.ERP.Model
{
    /// <summary>
    /// 库存表
    /// </summary>
    public class Stock
    {
        /// <summary>
        /// 库存编号
        /// </summary>
        public int Stock_Id { get; set; }
        /// <summary>
        /// 外键商品信息编号
        /// </summary>
        public int Commodity_Id { get; set; }
        public string Commodity_Name { get; set; }
        /// <summary>
        /// 外键商品信息导航属性
        /// </summary>
        public virtual Commodity Commodity { get; set; }
        /// <summary>
        /// 外键仓库编号
        /// </summary>
        public int WareHose_Id { get; set; }
        public string WareHose_Name { get; set; }
        
        /// <summary>
        /// 库存数量
        /// </summary>
        public int Stock_Num { get; set; }
        /// <summary>
        /// 库存预警量
        /// </summary>
        public int Stock_Early { get; set; }
        /// <summary>
        /// 预定量
        /// </summary>
        public int Reserve_Num { get; set; }
    }
}
